package com.ruoyi.spspublic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
//import com.ruoyi.common.core.domain.BasePartyEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 2对象 t_kpi_data_temp
 *
 * @author ruoyi
 * @date 2023-09-06
 */
public class TKpiDataTemp /**extends BasePartyEntity**/ {
  private static final long serialVersionUID = 1L;

  /** 唯一序号 */
  @Excel(name = "唯一序号")
  private String ctId;

  /** 功能号 */
  @Excel(name = "功能号")
  private String ctFunNo;

  /** 功能类型 */
  @Excel(name = "功能类型")
  private String ctFunType;

  /** 业务编号 */
  @Excel(name = "业务编号")
  private String ctBussId;

  /** 业务名称 */
  @Excel(name = "业务名称")
  private String ctBussName;

  /** 党员或者组织编码 */
  @Excel(name = "党员或者组织编码")
  private String ctBussPartyorbranchid;

  /** 业务日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "业务日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtBussDate;

  /** 业务审核日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "业务审核日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtAuditDate;

  /** 业务创建日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "业务创建日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtBussCreateDate;

  /** 政研单位（目前未使用） */
  @Excel(name = "政研单位", readConverterExp = "目=前未使用")
  private String ctBussPoliticalBranchid;

  /** 规则id(ct_gz_name 规则名称) */
  @Excel(name = "规则id(ct_gz_name 规则名称)")
  private String ctRuleId;

  /** 分值类型：加分/减分 */
  @Excel(name = "分值类型：加分/减分")
  private String ctScoresType;

  /** 分数 */
  @Excel(name = "分数")
  private BigDecimal amScores;

  /** 周期（年，季，月） */
  @Excel(name = "周期", readConverterExp = "年=，季，月")
  private String ctCycle;

  /** 年度月度类型-未使用 */
  @Excel(name = "年度月度类型-未使用")
  private String ctYearmtype;

  /** 年度最大分值 */
  @Excel(name = "年度最大分值")
  private BigDecimal amScoresYear;

  /** 分数计算类型:自动/后台扣分 */
  @Excel(name = "分数计算类型:自动/后台扣分")
  private String ctCalculateType;

  /** 01:党员 02:组织 */
  @Excel(name = "01:党员 02:组织")
  private String ctType;

  /** 计算日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "计算日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtInsertDate;

  /** 结束标志 */
  @Excel(name = "结束标志")
  private String ctEnd;

  /** 结束描述 */
  @Excel(name = "结束描述")
  private String ctEndDesc;

  public void setCtId(String ctId) {
    this.ctId = ctId;
  }

  public String getCtId() {
    return ctId;
  }

  public void setCtFunNo(String ctFunNo) {
    this.ctFunNo = ctFunNo;
  }

  public String getCtFunNo() {
    return ctFunNo;
  }

  public void setCtFunType(String ctFunType) {
    this.ctFunType = ctFunType;
  }

  public String getCtFunType() {
    return ctFunType;
  }

  public void setCtBussId(String ctBussId) {
    this.ctBussId = ctBussId;
  }

  public String getCtBussId() {
    return ctBussId;
  }

  public void setCtBussName(String ctBussName) {
    this.ctBussName = ctBussName;
  }

  public String getCtBussName() {
    return ctBussName;
  }

  public void setCtBussPartyorbranchid(String ctBussPartyorbranchid) {
    this.ctBussPartyorbranchid = ctBussPartyorbranchid;
  }

  public String getCtBussPartyorbranchid() {
    return ctBussPartyorbranchid;
  }

  public void setDtBussDate(Date dtBussDate) {
    this.dtBussDate = dtBussDate;
  }

  public Date getDtBussDate() {
    return dtBussDate;
  }

  public void setDtAuditDate(Date dtAuditDate) {
    this.dtAuditDate = dtAuditDate;
  }

  public Date getDtAuditDate() {
    return dtAuditDate;
  }

  public void setDtBussCreateDate(Date dtBussCreateDate) {
    this.dtBussCreateDate = dtBussCreateDate;
  }

  public Date getDtBussCreateDate() {
    return dtBussCreateDate;
  }

  public void setCtBussPoliticalBranchid(String ctBussPoliticalBranchid) {
    this.ctBussPoliticalBranchid = ctBussPoliticalBranchid;
  }

  public String getCtBussPoliticalBranchid() {
    return ctBussPoliticalBranchid;
  }

  public void setCtRuleId(String ctRuleId) {
    this.ctRuleId = ctRuleId;
  }

  public String getCtRuleId() {
    return ctRuleId;
  }

  public void setCtScoresType(String ctScoresType) {
    this.ctScoresType = ctScoresType;
  }

  public String getCtScoresType() {
    return ctScoresType;
  }

  public void setAmScores(BigDecimal amScores) {
    this.amScores = amScores;
  }

  public BigDecimal getAmScores() {
    return amScores;
  }

  public void setCtCycle(String ctCycle) {
    this.ctCycle = ctCycle;
  }

  public String getCtCycle() {
    return ctCycle;
  }

  public void setCtYearmtype(String ctYearmtype) {
    this.ctYearmtype = ctYearmtype;
  }

  public String getCtYearmtype() {
    return ctYearmtype;
  }

  public void setAmScoresYear(BigDecimal amScoresYear) {
    this.amScoresYear = amScoresYear;
  }

  public BigDecimal getAmScoresYear() {
    return amScoresYear;
  }

  public void setCtCalculateType(String ctCalculateType) {
    this.ctCalculateType = ctCalculateType;
  }

  public String getCtCalculateType() {
    return ctCalculateType;
  }

  public void setCtType(String ctType) {
    this.ctType = ctType;
  }

  public String getCtType() {
    return ctType;
  }

  public void setDtInsertDate(Date dtInsertDate) {
    this.dtInsertDate = dtInsertDate;
  }

  public Date getDtInsertDate() {
    return dtInsertDate;
  }

  public void setCtEnd(String ctEnd) {
    this.ctEnd = ctEnd;
  }

  public String getCtEnd() {
    return ctEnd;
  }

  public void setCtEndDesc(String ctEndDesc) {
    this.ctEndDesc = ctEndDesc;
  }

  public String getCtEndDesc() {
    return ctEndDesc;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("ctId", getCtId())
        .append("ctFunNo", getCtFunNo())
        .append("ctFunType", getCtFunType())
        .append("ctBussId", getCtBussId())
        .append("ctBussName", getCtBussName())
        .append("ctBussPartyorbranchid", getCtBussPartyorbranchid())
        .append("dtBussDate", getDtBussDate())
        .append("dtAuditDate", getDtAuditDate())
        .append("dtBussCreateDate", getDtBussCreateDate())
        .append("ctBussPoliticalBranchid", getCtBussPoliticalBranchid())
        .append("ctRuleId", getCtRuleId())
        .append("ctScoresType", getCtScoresType())
        .append("amScores", getAmScores())
        .append("ctCycle", getCtCycle())
        .append("ctYearmtype", getCtYearmtype())
        .append("amScoresYear", getAmScoresYear())
        .append("ctCalculateType", getCtCalculateType())
        .append("ctType", getCtType())
        .append("dtInsertDate", getDtInsertDate())
        .append("ctEnd", getCtEnd())
        .append("ctEndDesc", getCtEndDesc())
        .toString();
  }
}
